package com.wanwu.channel.remote.allinpay.http.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Getter;
import lombok.Setter;

/**
 * @ClassName DeclareReSendHead
 * @Description 报关重新发送请求头
 * @Author husheng
 * @Date 2020-02-24 10:23
 */
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
@JacksonXmlRootElement(localName = "HEAD")
public class DeclareReSendHead {

    @JacksonXmlProperty(localName = "VERSION")
    @JSONField(name = "VERSION")
    private String version;

    @JacksonXmlProperty(localName = "TRANS_DATETIME")
    @JSONField(name = "TRANS_DATETIME")
    private String transDatetime;

    @JacksonXmlProperty(localName = "CHARSET")
    @JSONField(name = "CHARSET")
    private String charset;

    @JacksonXmlProperty(localName = "SIGN_TYPE")
    @JSONField(name = "SIGN_TYPE")
    private String signType;

    @JacksonXmlProperty(localName = "SIGN_MSG")
    @JSONField(name = "SIGN_MSG")
    private String signMsg;

}
